package com.policyCloud.policyOauth.dao;

import com.policyCloud.policyOauth.pojo.CenterRoleSitemap;
import com.policyCloud.policyOauth.pojo.CenterRoleSitemapCriteria;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CenterRoleSitemapMapper {
    /**
     *
     * @mbg.generated
     */
    long countByExample(CenterRoleSitemapCriteria example);

    /**
     *
     * @mbg.generated
     */
    int deleteByExample(CenterRoleSitemapCriteria example);

    /**
     *
     * @mbg.generated
     */
    int deleteByPrimaryKey(@Param("appId") String appId, @Param("roleId") Integer roleId, @Param("moduleId") String moduleId, @Param("sitemapId") String sitemapId);

    /**
     *
     * @mbg.generated
     */
    int insert(CenterRoleSitemap record);

    /**
     *
     * @mbg.generated
     */
    int insertSelective(CenterRoleSitemap record);

    /**
     *
     * @mbg.generated
     */
    List<CenterRoleSitemap> selectByExample(CenterRoleSitemapCriteria example);

    /**
     *
     * @mbg.generated
     */
    int updateByExampleSelective(@Param("record") CenterRoleSitemap record, @Param("example") CenterRoleSitemapCriteria example);

    /**
     *
     * @mbg.generated
     */
    int updateByExample(@Param("record") CenterRoleSitemap record, @Param("example") CenterRoleSitemapCriteria example);

    List<CenterRoleSitemap> selectPage(CenterRoleSitemapCriteria example);
}